/*****************************************
 *                                       *
 *  @dookay.com Internet make it happen  *
 *  ----------- -----------------------  *
 *  dddd  ddddd Internet make it happen  *
 *  o   o     o Internet make it happen  *
 *  k    k    k Internet make it happen  *
 *  a   a     a Internet make it happen  *
 *  yyyy  yyyyy Internet make it happen  *
 *  ----------- -----------------------  *
 *  NO BUG ENJOY LIFE                    *
 *                                       *
 ****************************************/

package com.security.demo.service;

import com.security.demo.mapper.UserMapper;
import com.security.demo.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 向羽
 * @date 2018/11/5
 */
@SuppressWarnings("ALL")
@Service
public class UserInfoService {
    @Autowired
    private UserMapper userMapper;

    public User getUserInfo(String username){
        return userMapper.getInfo(username);
    }

}
